package org.crazyit.cloud;

import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;

/**
 * @Author JLL
 * @Date 2018/8/11/0011 上午 9:28
 *
 * springBoot如何加载自己的配置文件abc.properties
 *
 */
@SpringBootApplication
public class MyConfigApp {

    public static void main(String[] args){
        new SpringApplicationBuilder(MyConfigApp.class).properties
                ("spring.config.location=classpath:/abc.properties").run(args);
    }

}
